#include <stdio.h>
int main(void)
{
	int a[2][3] = {1, 2, 3, 4, 5, 6};
	int *p1, *p2, *p3;
	p1 = a[1];
	p2 = a + 1;//
	p3 = *(a + 1);//不容易理解，相当于a[1]的地址
	int *p6, *p7;
	p6 = a[1] + 1;
	p7 = *(a + 1) + 1;

	for (int i = 0; i < 2; i++)
	{
		for (int j = 0; j < 3; j++)
		{
			printf("Row %d Col %d: %d\n", i, j, a[i][j]);
			printf("Row %d Col %d: %d\n", i, j, *(a[i] + j));
			printf("Row %d Col %d: %d\n", i, j, *(*(a + i) + j));
			printf("Row %d Col %d: %d\n", i, j, (*(a + i))[j]);
		}
	}
	return 0;
}

